Optimal. Leaf size=119 \[ \frac{\sqrt [3]{b} \log \left (a^{2/3} x^2-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3}\right )}{6 a^{4/3}}-\frac{\sqrt [3]{b} \log \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )}{3 a^{4/3}}+\frac{\sqrt [3]{b} \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{\sqrt{3} a^{4/3}}+\frac{x}{a} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.155705, antiderivative size = 119, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 8, integrand size = 9, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.889 \[ \frac{\sqrt [3]{b} \log \left (a^{2/3} x^2-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3}\right )}{6 a^{4/3}}-\frac{\sqrt [3]{b} \log \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )}{3 a^{4/3}}+\frac{\sqrt [3]{b} \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{\sqrt{3} a^{4/3}}+\frac{x}{a} \]
Antiderivative was successfully verified.
[In] Int[(a + b/x^3)^(-1),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 29.5204, size = 112, normalized size = 0.94 \[ \frac{x}{a} - \frac{\sqrt [3]{b} \log{\left (\sqrt [3]{a} x + \sqrt [3]{b} \right )}}{3 a^{\frac{4}{3}}} + \frac{\sqrt [3]{b} \log{\left (a^{\frac{2}{3}} x^{2} - \sqrt [3]{a} \sqrt [3]{b} x + b^{\frac{2}{3}} \right )}}{6 a^{\frac{4}{3}}} + \frac{\sqrt{3} \sqrt [3]{b} \operatorname{atan}{\left (\frac{\sqrt{3} \left (- \frac{2 \sqrt [3]{a} x}{3} + \frac{\sqrt [3]{b}}{3}\right )}{\sqrt [3]{b}} \right )}}{3 a^{\frac{4}{3}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(a+b/x**3),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0291277, size = 108, normalized size = 0.91 \[ \frac{\sqrt [3]{b} \log \left (a^{2/3} x^2-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3}\right )-2 \sqrt [3]{b} \log \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )+2 \sqrt{3} \sqrt [3]{b} \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{a} x}{\sqrt [3]{b}}}{\sqrt{3}}\right )+6 \sqrt [3]{a} x}{6 a^{4/3}} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b/x^3)^(-1),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.003, size = 99, normalized size = 0.8 \[{\frac{x}{a}}-{\frac{b}{3\,{a}^{2}}\ln \left ( x+\sqrt [3]{{\frac{b}{a}}} \right ) \left ({\frac{b}{a}} \right ) ^{-{\frac{2}{3}}}}+{\frac{b}{6\,{a}^{2}}\ln \left ({x}^{2}-x\sqrt [3]{{\frac{b}{a}}}+ \left ({\frac{b}{a}} \right ) ^{{\frac{2}{3}}} \right ) \left ({\frac{b}{a}} \right ) ^{-{\frac{2}{3}}}}-{\frac{b\sqrt{3}}{3\,{a}^{2}}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{x{\frac{1}{\sqrt [3]{{\frac{b}{a}}}}}}-1 \right ) } \right ) \left ({\frac{b}{a}} \right ) ^{-{\frac{2}{3}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(a+b/x^3),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a + b/x^3),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.232219, size = 157, normalized size = 1.32 \[ -\frac{\sqrt{3}{\left (\sqrt{3} \left (-\frac{b}{a}\right )^{\frac{1}{3}} \log \left (x^{2} + x \left (-\frac{b}{a}\right )^{\frac{1}{3}} + \left (-\frac{b}{a}\right )^{\frac{2}{3}}\right ) - 2 \, \sqrt{3} \left (-\frac{b}{a}\right )^{\frac{1}{3}} \log \left (x - \left (-\frac{b}{a}\right )^{\frac{1}{3}}\right ) - 6 \, \sqrt{3} x + 6 \, \left (-\frac{b}{a}\right )^{\frac{1}{3}} \arctan \left (\frac{2 \, \sqrt{3} x + \sqrt{3} \left (-\frac{b}{a}\right )^{\frac{1}{3}}}{3 \, \left (-\frac{b}{a}\right )^{\frac{1}{3}}}\right )\right )}}{18 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a + b/x^3),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.27161, size = 22, normalized size = 0.18 \[ \operatorname{RootSum}{\left (27 t^{3} a^{4} + b, \left ( t \mapsto t \log{\left (- 3 t a + x \right )} \right )\right )} + \frac{x}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a+b/x**3),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.223646, size = 150, normalized size = 1.26 \[ \frac{\left (-\frac{b}{a}\right )^{\frac{1}{3}}{\rm ln}\left ({\left | x - \left (-\frac{b}{a}\right )^{\frac{1}{3}} \right |}\right )}{3 \, a} + \frac{x}{a} - \frac{\sqrt{3} \left (-a^{2} b\right )^{\frac{1}{3}} \arctan \left (\frac{\sqrt{3}{\left (2 \, x + \left (-\frac{b}{a}\right )^{\frac{1}{3}}\right )}}{3 \, \left (-\frac{b}{a}\right )^{\frac{1}{3}}}\right )}{3 \, a^{2}} - \frac{\left (-a^{2} b\right )^{\frac{1}{3}}{\rm ln}\left (x^{2} + x \left (-\frac{b}{a}\right )^{\frac{1}{3}} + \left (-\frac{b}{a}\right )^{\frac{2}{3}}\right )}{6 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a + b/x^3),x, algorithm="giac")
[Out]